support for hiding in tray

also new setting, autostart in tray
Merge pull request #409 from agilob/trayicon

support for hiding in tray