Merge pull request #4 from dylanahsmith/refactor-heap-parsing

Refactor heap object parsing from adding objects to the heap
Change progress to display percent complete.
Avoid printing progress if stdout isn't a TTY.