- Improve comments
- Add check for fail on fork call
- Rename enum