Break onPartFixedUpdate() into smaller chunks.

This makes the code much easier to follow.
Big curly brace cleanup.

I like K&R style: much easier to read. If I'm going to take over
maintenance of this project, I might as well make it easy for myself.