Consistently use spaces to indent, and remove trailing whitespace from lines.