Made FrameCounter a little more refined