Tabs to spaces, pep8 style fixes