Properly terminate the process including all children.
Fixed parameter problem with signal handler.
Merge pull request #15 from jezdez/improved-quitting

Properly terminate the process including all children.