fixed initial render issue on mac and windows with global menu, fixed fullscreen toggle on mac and windows (by using toggleKioskMode()), add inset shadow to menu