Our user interface consists mainly of a pair of special commands: SAVE DEFAULTS and RESTORE DEFAULTS. The SAVE DEFAULTS command tells the library to write out all of the current settings (at least, all of those that participate in this framework) to a file. RESTORE DEFAULTS explicitly reads that same file and puts the stored settings into effect. Finally, we'll also read the file and activate its stored settings when we start (or RESTART) the game.
settingsUI : settingsManager