/dev/zero's bugfix, also some other changes