Type checking of webrequest handler arguments. Filtering of webrequests - currently implemented in JS.
Adding few comments to newly added JS methods. Minor fixes.
Event handler result values are properly gathered