More tweaks to the collision system. Still not correctly handling linesegment x linesegment collisions.