You (correctly) point out the places where capitalism comes up empty, if capitalism is our implicit system of determining the worth of goods and services. Apart from the environment (which seems unaddressed by the major economic models of the world) or the other causes you mentioned (unaddressed by capitalism, at least), I suppose it's fine to rely on the adequacy of money as some measure of the wealth we add to the world (http://www.paulgraham.com/wealth.html).
Even if the world is being eaten by software (http://online.wsj.com/article/SB1000142405311190348090457651...), the transition to using software happens fastest through startups, I'm coming to believe. I used to work in a life-sci research lab, and there's just an exponentially growing divide between data growth and the tech resources to handle it. NGOs and government can be disorganized and unmotivated, so working for them is not necessarily going to be the best use of your engineering talents. But that might be aside your point, i.e., try to work towards noble goals.
Lastly, and most importantly, I find the model of the Aravind Eye Hospital as truly inspiring and business-model bending: a company set up to help the ones who are the _most_ in need. The ones who can least afford it. And yet in the process, generate income that goes back to serving and accelerating the mission. _This_ is what "social enterprises" ought to be: http://infinitevisionaries.com