Despite the recent revelations having vindicated the world's tin-foil-hats, we still seem to collectively lack the stomach for darker conspiratorial notions. To be in step with reality, it may be important to build up a bit of tolerance. I'm not making any claims (because I just don't know), but I see absolutely no reason to assume that democratic process applies to these agencies. They may have gone rogue; they may have always been rogue. Their global network may be the actual, de-facto world government. Would it really surprise anyone at this point if a convincing leak exposed such notions? What would we do then?
Let's stop imagining that Law will take care of this problem so we can at least assume a proper direction for our efforts. Which is to say, let's dispense with some of our convenience and fashions and start writing software the right way -- the paranoid way.
To quote the eternal R. Buckminster Fuller:
"In order to change an existing paradigm you do not struggle to try and change the problematic model. You create a new model and make the old one obsolete."