MacOSX - To remain menu bar entries after closing main window, some of the commit 9378b4 was rollbacked