Fixed some stuff from pylint, pep8, pep257