Added callbackKeyBlock parameter

Third parameter allows setting a callback function to fire whenever a
keypress is 'disallowed'.