More event parsing and logging improvements.