Modified Keyboard input, removed keyTyped. Only using key pressed, released

Added error handling for assigning an animation that does not exist yet