Added q for quit.