Add OnPluginCrashed to Request handler
Set WebBrowser = null on UI thread - when hosting the WPF control under WinForms the dispose is called on a different thread and this causes an exception. So executing on UI thread resolves this.
Remove code regions