Removed shutdownGateway, merged with closeEvent
Changed way handleEvent works
Renamed NotifyHandler's handleEvent to queueEvent
Changed way OpenSettings work so Tray can open it too
Window should now show and come to front always
Changed way Tray is handled