cu: move more statistics into FrameData
framedata: add pointer to active param structure for that picture

today, this is always the single global param. in the future it may be different