Redid chat system.

Removed Web Socket classes  and made chat use a Web Worker. Still not
optimal.