Instead, use user-emacs-directory
By default, Emacs packages such as undo-tree-mode seem to be dependent on windows to display the visualization. The first basic step would be to `(setq pop-up-frames t)` so that display-buffer always makes a new frame.
FS #2