Working on UI - tray icon and window behaviour