Very minor style fixes

Replacing tabs with spaces consistently, making brace styles consistent, etc.