Mostly PEP8 compliance, minor bug fix and type kind output in error condition
Merge pull request #3 from claws/master

PEP8 compliance, minor bug fix and invalid type value added to error output.