Now it's possible to unmount devices from userland. General fixes and cleanup here and there.