Do some clean up and have a single stream working.
Mostly working three stream software.

It looks like there is a problem with the termios settings somewhere. Still
need to track this down.