Plethora of flake8 fixes