Some minor hopeful fixes to some collision related code that hopefully helps make collisions with objects less buggy. Also attempted to fix what looked like a bug in the polygon code reading in quad polygons (which we don't do anyway) where the triangle reading code executed after numtri's was reached in the second iteration of the outermost loop.