Cleaned up some old code. Forced evaluation in writeChannel.