Added a graceful quit command.