Two bug fixes
Added async as a prerequisite in package.json
Modified the isExcluded function to check for the existence of settings.exclude before accessing it
Merge pull request #2 from garethadams/bugfixes

Two bug fixes