Merge pull request #110 from jhaynie/master

#44 implemented block support
Merge pull request #111 from jhaynie/master

check for process.stdout.clearLine api before using it