Assembled main loop, fixed collisions and controller use in the Player.