- setup signal handling for parent and child in monitor
- monitor can now safely be terminated with Control-C
- parent and child processes each have their own main method (parent_main and child_main)