Rename macro definitions to CB instead of OSUAR.
PI control works without crashing.

Lots of debug code. Startup is a little jumpy.
Better gains.
Finish implementing PI control with smooth startup.