Logging & Events

Implemented proper debug logging.
Also unified event properties and enabled adding multiple events at
once ("start update").
Also change some variable names and some minor changes.