Solves #107 problem with comments/blank lines
Merge pull request #126 from swang/fix_chain_indents

fixes #107 problem with comments/blank lines