Simplified the emacs alias and added kill-emacs-daemon function.