Hockey integration + event logging/
Code cleanup and Hockey library update.
Code cleanup.