Fixed a crash when there is a URL in an alert's title.

Given an alert that contains a URL in the title, the title won't be grabbed. If there is no body to the alert, no body will be grabbed. Thus, the text will be nil when pulled from the alert even though a title exists.

I propose to check for a URL at the beginning of the title, to maintain compatibility with Safari.