Added levels, score updating, lock delay. Needs some serious refactoring