Fix opening new windows and files from defaultmenu
CocoaInitializer and delete window fix