bug with broadcasting child exit signal fixed, some problems fixed, little refactoring