Fixes based on comments from dm

Most changes are either cosmetic or small changes in type names etc. Big changes are under `LIO.Concurrent` and `LIO.Privs`. Also moved `LIO.FS` and `LIO.Handle` to their own package.