Miyazaki reportedly hated the ending and didn't want to have such a tidy solution, but needed material because he was greenlit for a movie and Nausicaa was all he had.
The other 3 books from the manga go into much more depth politically and spiritually, with a lot more philosophy about ecology and even what it means to be human.
And the main character has the right amount of flaws. Even though Nausicaa is totally against war by the second half, the movie shows that this is easier said than done. She has to reach that conclusion after taking part in the fighting herself, and even then she has to use warning shots from a machine gun. She's not invincible until the last scene.