My changes weren't counting threaded deletes correctly ... this still needs retesting on Oracle/PG which I'll do in the next day or so by writing new test cases...
Added tracking of threads in a forum and replies to a root post to the forums-forums and forums-messages datamodel, and fixed the necessary code. Also cleaned up some stuff and wrote a test case for automated testing. PG only at this point, will add the Oracle stuff shortly.