add PMF UT
fix FrameGrapher in DEBUG2 builds