added chat box implementation. closes #11