Added change level support in code

This allows you to change the level on the fly. Automatically making
sure that the level on screen adjusts as required.