Log Message: This uses event_once, which appeared in libevent-0.9, so depend on at least that version. Some cleanups while here.