Fix #455. Since there is no reason to show both quit windows may as well just close the previous one.
Merge pull request #456 from duncanspumpkin/fix_455

Fix #455.