updated runscope to push and pop frames onto the stack, handles generators that instantiate objects correctly,
renamed runscope to _runscope to indicate that it's private