Lots of changes. Works now. (Should have commit more frequently)
Update level editor to work with new system
Add sound back again. Also bug fixes.
Add better time control for OnRails state.