The reset worked as I expected; I'm now getting no popups at all.
I should probably explain that I did have a single class in C++ programming. I understood intuitively what was happening, but had a very difficult time following the minutiae of the code, so I had a terrible time writing and debugging, sometimes. I managed a decent grade, but swore never to do that again.
I think you would do best to either return to the proven code you have from before, which is a very workable pop-up system I can live with very easily--or to take a different approach in writing this program, because the current one is not having the proper result. I think you'll have to find a different criterion to determine when to show the popups, because whatever you're using now is not working the way you want it to.
Please don't be irritated...I can tell you there were a lot of times while I was trying to learn C++ where I felt like I was banging my head into a wall. I appreciate quite well how difficult this is.