Stability update; line collision

Adds a powerful new feature to test line collisions.