pep8 cleanup, utf8-header,sorted imports, readability, ...

no logic changes, just $title
cd ?