Added tray icon functionality.