chat code clean-up

The vuze-side is quite ok, now. It uses the original plugin code (without ui).
The web-side is just a bit less of a mess :-)