Stops strange hyperlinks from causing a crash

To test, type a URL with a lone % somewhere in it, then click the hyperlink.
Github shows a bunch of added / removed lines, but all that's different is an added `try catch`