Better checking for improper syntax on the 'exit' command. Added more framework for entering other commands.