fixed signal handler and sigio handler + signal multiplexer now able to catch stderr of child process