Added level changing code. Not there yet, but almost.