Fixed termination of application through explicit input of invalid code.