support for hiding in tray

also new setting, autostart in tray

qtcreator removed white spaces automatically(licence header), for for that. 
https://i.imgur.com/ClYKI4g.png