Add savePrefs() function.
Remove server prefs & banlist export from shell's onExit() function.
Save prefs when options dialog goes to sleep.
Use $SettingsDir for TOL's server prefs.