Adding quit with 'q' key press.