Some typos and pep8 and pylint cleaning