emit events when the worker writes to stderr. 

Also catch and log kill signals

@mastrolinux 
@mostafaeweda