Clean up some docs.
Clean up debug output.
Prettify source.