Store PIDs as pid_ts rather than ints. Print PIDs as longs rather than ints.