Fixes indentation
Further event spec fixes
Fixes log methods visibility
Adds TODOs to log failure modes
Simplifies connection code
Fixes method visibility
Adds clarification comment