457 - finally, redirection works

No need for a separate channels array; just pass channels in globals.
The global space is a superset of unix's fd array.