more optimisations and broken things.

cornering detection is too powerful now