Refactored gnupgpyui3.py