chat widget: Remove unused code
Clean up some header files