Clean up sigprocmask before exec; volatile pid

+tweaks