Child process handling

see commit comments.