add invalid password check
Merge pull request #944 from tkhaew/priv_keys_pwd

Issue #941 fix export_privkeys_dialog, add invalid password check