Various fixes and addons
Added Flot chats library and plugins.