Fixes autosave again, fixes dialogs popps when mouse grabbed

Pref dir was not set if never the use had not used save prefs
autosave enable/disable didn't cause a restart of autosave feature