More executeFrame() refactoring.
More executeFrame() refactoring.