Added support for pressing escape to exit out of game