Fix: hide tray icon on close

#445
#289