Elemental Adventure: added chat and fixed some bugs and errors

Hi. Here the changes I made today: added chat and username (beta) fixed error ilegal id 0 fixed some bugs