Fixed display font bug, added respond to QUIT event.