moves event handlers into quiz and reformatting
remove a debugging statement