Better handle for the quit command.

#7