ChatComponent API, bug fixes