Reformat all source files to senate spec.

Also fix all warnings in the source.