Added simple UI to display update events from the server. Unsubscribing listeners when the connection is closed.