Fixed drifting through floor, FPS limited to 100

Also moved gravity, scroll velocity, and jump velocity to constants in
player.lua