minor performance improvements

@theNickNance I made a couple of performance improvements that helped but didn't fix the problem completely.  I did narrow down the issue to the collision function.  If you leave out calling that function everything is pretty smooth with these changes.  There has to be a more efficient way to determine a collision.