Improve script to spot logs repeating every three lines.
Allow any cobrand.
Add default num_messages variable.
No XHTML option needed any more.