fixed jumping, walking and added ESC-Key funcionality