fixes #49: Html display doesn't refresh when a new message is received.