Made the package installation more robust.

Also, now that redo+ isn't under active development anymore, we need
to convert mac-key-mode to use undo-tree instead.
Calling undo-tree-undo with Command-Z
Adding some minor options.