Fix mixed tabs and spaces

Until now we have had a haphazard mix of spaces and tabs throughout the code. Since there seemed to be a heavy preference for
4-space indenting rather than tabs. Everything has been converted to spaces. There was no code changed here, only whitespace.