Fixed bug where QWebView would crash on malformed URLs

The title pretty much says it all.  This keeps Monterey from crashing
when editing the URL.  It also apparently fixes issue #26.