Job #19766 BUG: Stop or reload all scripts crashes interface fixed.

QUrl(name).toString() does not equal name, therefore removing name from
ScriptEngineHash was failing, and a dangling pointer was left in the
script engine hash map.