Fixes to the settins and save data systems

Reverted some code in SaveData.cs.
Bug fixes to the SaveData.cs class.
Improvements to the SettingsData.cs class.
Various bug fixes.