add a second graph showing trending data, start to make socket connections reconnectable