Update char buffer handling when reading FIFO

This is probably a terrible way of doing this, and I suspect that
writing more than 4kB to the fifo will screw things up. I don't know
how to fix this yet.
Add script for sending test data to the statusline