Added quit command to allow for safe closing

Signed-off-by: Justin Wiblin <the_lone_devil@justin-wiblin.tk>