Most of the "flaws" you point out (especially irrational behavior) are adequately addressed by modern economic theory. Behavioral economics, including Equality of Incompetence theories, incomplete contracts, etc etc, are all aimed to address the "fallacy of the superrational."
However, much...