Added basic tray support and override (x) action

TODO: Context menu on tray icon