Use two spaces for indents and trim trailing whitespace