You can ignore all the stuff in displayedFrame just fine, as that is just for debugging info really. Are you sure you are actually calling the blitFrameCheck every frame.. ie. put a break point in there.
It is kindof hard to debug your code from here, and you said that the Demo worked ok IIRC. So, You should step through the demo, and your code, to make sure you are doing identical things. Of course, thigns like the vtime and fullscreen would be a little different, but everything else remains the same.