Flake8 mostly everything but some 80 char lines.

Also remove hashlib as it isn't used.