Added mode 3 to pipes, for unescaped output.
Refactored a lot. Added stdo and stde cmds.