support for hiding in tray

also new setting, autostart in tray