Added escpae to exit.