Finished savegame logic for basic features.
Made sure the game doesn't freeze if a minor error occures.
Changed processed class name to a more generic one.
Moved container variable into settings object.
Added difficulty switch to the settings variable.
Fixed a bunch of typos and minor js errors.