Convert tabs to spaces. Closes #181

Convert tabs to 2 spaces and strip trailing whitespace.