fixed bug where exit menu item appeared twice for non-osx systems