Refactored frame analysis out into MozFrameAnalyzer class