Log events even if not initialised.
PEP8 cleanup.
pylint improvements.