Changed defaults of addtogall and addtoupl.
Check overlap id ranges.
Add trillian emoticons to upload.
"Repair" emoticons table to correct format (if lib.php revision is not yet there).
Structured content replacement.
Added warnings for Smarty error and Unrecognised template.