Fixed bugs in level selection and display.