Don't force TBONE_DEBUG to true in debug mode, use window.TBONE_DEBUG instead.
Increase scheduler iteration limit to 1000 and add error logging on overflow