Jorge Refactor and got the 'q' working
refactoring quit and finish and prints