Fixed bug where quit wouldn't work on first input