Initial implementation of new chat control

Add work in progress version of new text control.