Fix some websocket state errors, and fix contact status not updating if you're currently in their tab.