Added new debug functions that will allow hosts to output to separate files based primarily on PID.