Fix Mac Menubar and crash with exit from Dock Icon
Operation of gtk_osxapplication in conjunction with client changes over the past
few versions seem to have caused an issue where the Mac menu bar is not fully
synchronized with the GTK menubar.
Also, the client seems to crash when right clicking the dock icon and clicking
exit.