I was an assistant prosecuting attorney for almost 12 years. I was fortunate to work for an elected prosecutor who couldn't care less about politics. His rules were simple...do the right thing. Period. And, in his eyes, his staff attorneys were wrong until they proved to him they were right. Prove you were right, and he would unleash hell on whoever was coming after you. Fail, and he would literally throw your belongings out as you were fired. It was a great place to start my career, and grow as an attorney.
With that said, I would agree that any prosecutor proven to deliberately bring false charges or falsify/hide evidence should be criminally liable. But you need to set the bar high for accusers as well. Having been sued a few times by criminal defendants for prosecuting their cases (and in one case, by a victim for not filing a bullshit charge), you need to afford some protections to prosecutors from this kind of harassment, or no one will do the job.