Added real jumping and movement mechanics
Tweaked the way button presses are handled
Reordered the main loop to process inputs after performing collision checks