Fixes lava display & multi calls to frameTime

Also:
* Added method for handling state changes, so that single-execution code can
be run at state change
* Lowered floor starting position
* refactored some duplicate lava display code into single function