Issue #941 fix export_privkeys_dialog, add invalid password check