Added Server Sent Event code for dynamical display of tree without
refreshing the screen.