(minor) some indentation and coding style fixes
Merge pull request #2 from quafzi/fix-indentation

(minor) some indentation and coding style fixes