Does anybody else ever come to the forum with a question......
and as you describe what you want to happen with the situation.....
You end up coming up with your own answer???
Ideally when people are having a problem with a program (or circuit) they would create a minimal complete demonstration of the issue before posting to the forum. This makes it much easier for the people trying to help so they don't have to sift through a bunch of irrelevant code but usually I find that by doing this I find the problem on my own.
I suppose in some cases people not posting their full project could lead to X-Y issues but they can always post the full project in addition to the minimal demonstration.
I always reckon that you don't truly understand something until you can explain it to someone else.
Working out how to explain your problem here often has the effect of suddenly causing understanding to arrive. At least it does for me.
It's almost as good as having someone look over your shoulder and ask, with a puzzled expression, "What does that bit of code do?". The answer often seems to be "Not what I intended it to!!!".