Review requests

- Made _getProcess(), _isLocked(), _lockCommand() and unlockCommand() non-static
- Fixed _outputError()
- Fixed docu of executeTerminationCallback()
- Moved forking logic from _spawnChild() directly to fork()
- Made isRunning() static