Show live data on the client side

Made some small changes
Now the websocketclients can update the data to almost instantly show
the changes to values

Known problem:
Server stops after a websocket client closes the connection :-|