Better curve collision; slow down on slide.

This includes some extra features for better collision.