Added notes option
fixed the empty log event check