context: cleanup/refactor DoSingleFrame()