Lots of documentation fixes and cleanups