The only thing I can develop is bad habits
. I'm totally no dev, sqgl, just a mere user blessed with some moderation keys here in the forum.
With "fall back to" I meant that if you have a CC event at a point before or at the loop start time Reaper will reset to that value.
Like this situation in the upper pic:
The lower pic shows a situation I personally hate about Reaper's MIDI. It doesn't trace back across items. I reckon it's sort of a shameless plug here, but I just can't resist to mention it wherever it somehow fits
Trying to recreate the sticky reset values, but don't yet succeed.