Various pep8 fixes and adv-read restructuring.
Cleaned up the docs, and pep8 fixes.