combining exit methods so they get called and adding ability to pass onE...

...xit from parent to child process

fixes #114