Fixed ToneGenerator crash. Added Preferences.
Added Stage loading from JSON file.

Fixed capitalization. Removed wrong event on screen. Moved stage logic
to StageImpl class.