I've got Emacs 23.1 running in daemon mode, and I can connect to it using emacsclient. However, when I open a new graphical frame, the Dock grabs an application icon which is apparently associated with the Emacs process rather than the emacsclient process. When I logout, it kills my Emacs session.
Is there a way to get that window associated with emacsclient or some other wrapper program so I can leave the daemon running?