Merge remote-tracking branch 'upstream/master'

Fix syntax error in showLeaveAfterCount and add this.leaveAfterCount >=
0 in constructor.  Checking if it’s true doesn’t cover the “is 0” case.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Fix issue where refreshing with a leaveAfterCount of 0 would not add listeners.
Merge pull request #11 from samb0t/master

Fix issue where refreshing with a leaveAfterCount of 0 would not add listeners.