added tray icon and main window