Cleanup
Fix emacs bugs
Pinentry update