Clean up sigprocmask before exec

+tweaks