fixed raw chat and made chat better
(not tested yet, but should work)