Count AVM1 limits the per context usage instead of per function call
Limits amount of pending scripts during rendering
Merge pull request #165 from yurydelendik/avm1-guards-3

Additional guards on AVM1 and rendering