Added exit & refreshsettings actions
Bugfixes