LOTS of bugfixing. Moving to explicit transactions and autocommit mode for everything else.
Finished re-working counting system, new count-table consolidation system hooked into web housekeeping system.