Jko/record events

I haven't tested this out yet-- the small main driver doesn't quite exercise this functionality.