How didn't I noticed weapons.OnLoaded? Entity loading modified.
Exchanged RunStringEx for CompileString and immediate function calling. Let's hope this mitigates some problems with debug stacks.