Am looking around and giving it some thought right now.
By chance is the page that's being called to the center also using a require statement or include statement calling ubbt.inc.php or main.inc.php back in a second time? It shouldn't need to.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.