Fix ioblock by flushing output streams.
Improved visualiser a bit.