Spaces

Replaces all uses of tabs with four spaces. Should fix various undetected bugs, and normalize the indentation.