Exclude 'external' typings (such as node.d.ts) by default, fixed hang bug, optional debug output, more configurability.
Merge pull request #3 from poelstra/master

Exclude 'external' typings (such as node.d.ts) by default, fixed hang bug, and more