Added "emit" and "emitMessage" functions to the slave process.  Need to
test via master process.