initial merging common parts of chatforms' widget
code cleanup
addMessage moved to parent class
cleanup