Started fixing socketio stuff.