Some reformatting
Fork and set up a sigaction SIGCHLD reaper.