Added hook to allow some action if input limit has reached.
Merge pull request #116 from martini/master

Added hook to allow some action if input limit has reached.