pep8 improvements, moar kang credits, don't log long error messages