Added a simple chat system. Fixed some stuff.