Fixed an issue with the console quit command