I think you haven't followed the uninstalling steps rightly
You should have removed the files before removing the products, especially the files in includes/xml concerning the chatbox as they contains bitfields which are generated upon install and uninstall process.
The regeneration upon uninstall is here to remove the bitfield concerning the chatbox but before files must have been removed.
So to correct this, you must remove the xml files concenrnig the chatbox and then rebuild the bitfields by hand (activation of the debug mode and the in the options menu the rebuild bitfields link shall be there

)