Code review - pep8 compliance

Code review for pep8 compliance. Getting ready to test it on 2.82 compiled rev and upload to blender's contrib addon trunk.