PEP 8 cleanup and new-style python classes.

...8 issues.