Issue 9 - Add quit function.