The flawed part of the script was the repeated self beratement of Anakin who kept saying "I wasn't strong enough". This hit me like an old dishrag. What a dumb reason for what he ended up doing. If you watch the story lines, he had more valid reasons to wreak revenge.
First; he was torn away from his mother as a child because the Jedi claimed they didn't have the money to free Anakin's mother. Yet, they had a wad of money from selling the speeder plus the 20,000 Republic credits. Hasn't anyone heard of a bank to exchange foreign money for local denominations? They also could have come back with the correct money to buy his mother after a few weeks.
Second; the Jedi council... Windu in particular were quite nasty to Anakin as a child even though his test scores were off the charts. Then claiming he was too old and any other excuse they could find which would have been very traumatic to a child's self confidence. His son Luke was a lot older when he first learned to be a Jedi. The council berated Anakin because he missed his mother & were telling him that missing his mother was the root of all evil.
Third; His main supporter, Qui-gon was killed and Anakin was trained by Obi-wan who had nothing but nasty remarks about Anakin in Episode 1 and did everything he could to dissuade Qui-gon from training Anakin. Thus, Anakin spent over 10 years with a trainer who never liked him and only trained him begrudgingly as an obligation.
Fourth; The Jedi & Obi-wan never made any effort to free Anakin's mother after they departed with Anakin. Nor would they let him contact her or visit her for more than a decade. Not even when he was having nightmares about her suffering when he could have saved her. It was forbidden to have a family as a Jedi. The Jedi treated his love for his mother as a path to the Dark side.
Fifth; She dies in his arms. He could have saved her if the Jedi had respected his concerns and let him go to her to check on her welfare. He had not communicated with her since he had left as a child. Qui-gon probably would have let him contact his mother if he had survived, but the jealous animosity and nothing but negativity from Obi-wan or Windu during all those years prevented him from contacting the one person he cared about other than Padme. The Jedi wanted to crush his self confidence and compassion under their thumbs. A known reaction by those who don't want to be outdone by anyone else so they keep kicking those who excel to keep them down... and the victims of the bullying end up as serial killers shooting up a grade school after having been kicked and bullied by those who can't stand for someone else to succeed and excel. This explains what Anakin does in Episode 3.
Sixth; The Dark side Sith Palpatine was the only kindness he ever received while training as a Jedi.
These were all reasons enough to explain Anakin's fall into darkness. The hateful way he was treated by the Jedi and prevented from contacting his mother and then her loss because he got there too late are reasons enough for him to realize the Jedi were trying to keep their foot on his neck and cut him off from everyone.
Anakin did not need to keep saying he wasn't strong enough. Payback for the way he was treated and for cutting him totally off from his mother, leaving her as a slave and preventing him from saving her would have been reasons enough. Not Strong enough sounds like a stupid reason as does preventing people from dying. The simple Payback as a reason and his mother's loss to turn him into a mass killer with no scruples and his alliance with Palpatine make a heck of a lot more sense where he would have done all the same things in Episode 3 after his reasons for revenge and payback were established in Episode 2. It makes a lot more sense than the "not strong enough" reasoning and the prevention of those close to him from dying. If Lucas had simply corrected Anakin's dialogue, the events in Episodes 2 & 3 could have remained the same and his reasons would have made more sense.
As for Dooku, it was never clear just where his loyalties laid with Palpatine and Grievous. (The coughing Grievous was absurd.)
They should have included scenes with the late Qui-gon where he would chastise Obi-Wan and Windu about the dangers of the way they were treating Anakin and taking everything away from him and pushing him to the edge.
Anakin still would have defended Palpatine as his only friend in a payback theme rather than the path to defeating death.
I never was sold on the Not strong enough theme and death prevention. The scripts sound like they were written by a 10 year old boy. A child only notices flashy toys. Not a meaningful story. Lucas also cut out too many scenes with the Senators and Padme. These battles are so boring to watch.
There was a movie in the mid sixties on one of those 100 pack movies. I have it somewhere. It was something like Robots on the moon. I was surprised to see they were using laser swords years before Star Wars.
Nor are laser swords more civilized. Showing children how they hack off limbs & the gruesome final scene of Anakin's last battle. I can't watch it myself. That was beyond cruel & extreme.
Nor are laser swords practical or civilized. Instead of laying on the floor doing nothing, Obi-wan could have helped take down Dooku if he had a space gun. You wont see anyone hacking off arms and legs on Star Trek. That's why I didn't take him to see Star Wars. He's a happy fan of Star Trek. Adventure stories without the gore or constant battles.