Memory event log

Basic in-memory event log and some additional configuration options.