Chat box implementation

Fixes #11