de-globalize variable
remove unused indentation logic
Merge pull request #1 from davidmfoley/small-fixes

Looks good. Thanks!