Added additional error handling to DWWebBrowser