Fix issue with emitting the log event
Defend against bad options objects being stringified, improve messages