Remove errant spaces, and replace tabs with spaces.