Good news, Phil; I can see what isn't working.
Bad news, Phil; you didn't ask any questions.
I think you would really benefit from learning a cognitive aid called "Rubber Duck Debugging". When you encounter a problem, you bring out the duck, sit it on the desk, and patiently explain your problem to it, step by step.
Eventually, in the course of explaining it to the duck, you are likely to notice something that contradicts your approach to the problem, and thus can start re-thinking it... or you are likely to realize that you don't understand the solution, and can re-examine how you got to the point you did.
One edge case of the practice, however: if you successfully explain the entire problem and the unexpected results to the duck, and it acknowledges to you that it understands... see a shrink.
RIP GameDev.net: launched 2 unusably-broken forum engines in as many years, and now has ceased operating as a forum at all, happy to remain naught but an advertising platform with an attached social media presense, headed by a staff who by their own admission have no idea what their userbase wants or expects.Here's to the good times; shame they exist in the past.