Fixed several web socket errors. Fixed squiz ui errors.