Various fixes, incl. git command
[emacs] Upgraded libs.