Fill preferences dialog with values from conf.
pep8, pyflakes.
Remove (unbound) shortcut.
Hide entered chars in password entry.
Preserve dialog result.
Use a more consistent system to store prefs.
Store valid config keys in own constant.
Add test for new conf keys const.
USe new constant.