Missing  \n and indentation.
Better return something than nothing.
Various trivial fixes (typos and such).
Make pep8 happy.