fix syntax of logging messages
add ability to set preforking callbacks
fix issue with child function exit callbacks being called on helper processes