I/O issues under control

Some are still there and a lot of code is to be reworked, obviously, but
at least there's some function!