New qio code
This code uses atomic pipes. Considerable simplification happened.

Does it work? Who knows? I'm hoping barret will scan it and find all my
mistakes.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>