websockets and visual interface