Changed the way Emacs is started.
Let Pass prompt work with folders, too.
Fixed typo.
Fixed call to open emacs.