Loosen pep8 restrictions to not cover anything not fixed
Fix pylint complaints
Fix pyflakes complaints plus a pylint complaint
Fix all pyflakes complaints