Comment 5 for bug 517373

Also, errorDialog attempts graceful shutdown when possible on qCriticals (so settings get saved, etc.)