inconsistent formatting; change tabs to spaces

There was inconsistent formatting in the current version, using spaces in most of the module but tabs in a few areas. This cleans that up, replacing all tabs with spaces.