_callFrame and _addToPendingScripts stuff
Implements swapDepths
Implements setMask