new emacs start script that prefers the daemon if possible, and selects gui based on name