Tabs -> spaces; remove trailing whitespace