State-listener now sends code to all connected clients when eden code is executed