Changed action of pressing the 'q' key slightly. Previously would quit game immediately, Now instead it adds the QUIT event to the pygame event queue to be handled at the same time as any other QUIT events.  Probably won't make much of a difference.
Minor formatting.