log access; save PIDs; fix bugs