Refactored JPanel, partially fixed keyListener
Fixed the KeyListener issue, refactored onGround method in Player class