Account Migrator: Switch to string comparison for URLs.

QUrl does not normalize trailing slashes, so there is no benefit
of using QUrl here.

(cherry picked from commit d770f9cc1a4c61ba1831e0c53bf021e30f9dd326)
Make Settings Window close on Ctrl+W

Fixes #2141

(cherry picked from commit 2ab19b23d7ca5c9cdd811d85caae69ecc839a625)