Convert tabs to spaces, general tidies.