Fixes some bugs, and access behaviors from scripting.
I guess there was a reason not to modulus the Tbg. 🙊