Added events, such as escape to exit