Hey bro, great going and keep it up, first of all,
I relate to most of the stuff, ill throw in my 2 cents.
Regarding the popup thoughts. It's captured well in the story of the chossid who commanded to his rebbe that even though he did a sincere tshuva he still has flashbacks and it drags him down and distracts him.
He told him to go visit another senior chosid for an answer.
He goes to this other fellows house, it's late and cold outside, but lo and behold he isnt let in, he knocks and knocks to no avail and yet he can see the guy sitting at his table learning and wide awake.
After a loooong time and alot more knocking and calling out, the door is opened. He immediately asks the guy for an explanation, the older chossid says to him slowly with emphasis. "Just because you came knocking doesn't mean i have to let you in".
Needless to say, the younger fellow got the message. The older fellow than added, "let me tell you the tale of moishe the innkeeper, he used to sell booze and he had a steady flow of gentiles costumers coming day and night. One day be decides he's retiring, but people still keep coming, and it's annoying, he has to tell them in the middle of the night while he's trying to sleep that he's closed and no more drinks. It takes a while but slowly all the customers get the msg. Still every now and then a infrequent customer comes knocking even weeks or months later, but even then, added the chossid, after a bit longer everybody knew and the customers no longer came a knocking. You too" added the older chosid "you were open for business for a long time and your foreign thoughts were welcome visitors, well, it can take a while before they all realize that they have nothing to do here"
So banish those thoughts quickly, and each time you do, it's a small tikun and a realignment of your healthy thought processes.
You can't do anything about the dreams, don't let it get you down, the gemara is replete with mentions of talmjdei chachamim and their accidental emissions, that's life.
though i remember in my better days when i was behaving and davening like half a jew, that i would wake up as soon as something was about to happen, i became more sensitive because i truly despised it.
(We don't pee in our beds do we? )
The 90 days is a double edge, im nervous too, because i had falls even after a year, the downside is that you don't have to entirely let go in order to do the chart, it's a pause button.
I am thinking about it more as well, what is the mindset to have, well when i quit smoking i didn't count because i was absolutely quitting, it was irrelevant to me how many days because o knew it was for life.
I need to think that way now as well, even though junk can happen, i need to maintain the mindset of goodbye and good riddance, though i have alot of self programming to do.
Maybe a 90000 day chart would've been better, that way by the time you pass the grade , its a bit late
As for breaking a habit yes, but i still crave (on rare occasions) a smoke, and it's been 14 years.
So i guess habits die but a temptation doesn't.
So to recap.
1. Guard your thoughts and immediately banish those that need banishing, the knocking will diminish.
2. Try to think alot before going to bed how a nighttime emission is something you really really really don't want, and you might find yourself subconsciously protecting yourself by waking up in time.
3. Keep trucking, and hopefully we'll all really let go, and like the mishna says "al taamin beatzmach ad yom mosach" and "lepesach chatas roveitz" the satan isn't retiring when we (hopefully) hit 90 (or 9000).
Great work, gut voch chaver.