added logic to emacs to launch the agent and kill itcan disconnect and reconnect sucessfully.  Messages are logged to *Messages*