Got a game loop in place. Can now close game with ESC.