avoid using Tomb's PID in temp files and double the random #150