Changed some codes in chat and in lobby. Rest same.

Changed some codes in chat and in lobby. Rest same.