task program and putting it into templates. Also writes a textual block of recent topics which sites may want to use for navigation. This is a minor modification of the patch submitted by shane (tf23): https://sourceforge.net/tracker/index.php?func=detail&aid=557355&group_id=4421&atid=304421
removes character references (both numeric, and entity) which fiddle with display stuff. Who writes these standards?!
more efficient SELECT to get it.