Make Settings Window close on Ctrl+W

Fixes #2141