Moves save logic to the modding API to store settings in the game save. Provides backwards compatible way to load settings from localStorage if not found in the game save. Also fixes some issues resulting from restarting a game without reinitializing Frozen Cookies.
does some reinitialization when a hard reset is performed while FC is loaded.
This does a handful of things: