Tidying up event library

- General code tidy's
- Inline doc correction