Add try/catch to getDefaultBrowser()