first working version with systray icon