Added support for ctrl+q for quiting