better exception handling and support for process group starting