Added the score button and modified the WebSocket messages and handlers.