Make catox install to PATH
Fix process hanging on exit

The process wouldn't exit properly before because the FIFO streams
didn't close properly because the wrong ones were being written to and
read from. Now that this problem has been solved by switching the two
file names, all the code trying to alleviate this problem incorrectly
can be - and has been - removed.
Notify on incoming messages and read and log them properly

It was discovered that text_out is not a FIFO so instead it is now
watched for changes as a normal file. These are then cleaned and printed
and a beep is printed to stdout.