Fixed a couple of bugs in order to increase framerate

The code would slow down because it was checking every last block for
collision on every frame. I went ahead rewrote some of the hot spots and
so it should run smooth no matter the size of the level.