moved to pipes, made things a bit stricter
stuff
some more attempts to control space leaks
stuff