bugfixes and added more clearsettings options