PEP8 cleanup--whitespace fixes and optimize imports.