Closing main window quits app if no tray icon (linux)