additionally to the double click I would like to open
events like new messages with a middle click, too.
Messages should be automatically send through server
after a timeout of 3? seconds. ESC first should break
trying to send messages (when a connection cannot be
set up), then another ESC should close the window.