replace all tabs with 4 spaces
fix a lot of indentation problems
more whitespace fixes
Merge pull request #8 from js850/notabs

replace all tabs with 4 spaces

also, fix a lot of indentation problems