only init global menubar, when menus were created (Cocoa)

make sure menus are initialized when a new window is opened

(0) -1000 -300 -100 -30 -10 -2 +2 +10 tip

mercurial