Implemented  level completion and advancement.