added ChatLog and ChatLogElement
Merging peter into kevin