Incorporated Adam's copy-on-write patches. Seems to not break anything, but I'm sure they do somewhere. --sg