Fix speed/weightage calculations. Tweak timing of websocket events to be in sync with server