fixed a lot of things. added chat