Change tabs to spaces, remove trailing whitespace