Fixed a few bugs but there still seems to be a few problems left, including the weird collision detection and status drawing of the ball.