Implemented event log. Closes #386.