Fixing a callback issue for InternalStackFrames.

I'm aware I'm committing debug prints right now. I'll refactor them into logging statements or remove them when I'm done.