Set up "settings" object to contain vars and functions for configuration. The UI theme is now saved and retrieved from localStorage.