better system tray icon handling