just ran pycharm's 'format source code' to get it into a more sane state

pep8 is the src code formatting de-facto standard, this first automated change makes it a bit more pep8 compliant

(not perfect yet, will fix the rest manually)