Cleanup & TODOs
Properly determine event type, based on loading state from Chrome
Remove spurious log message; cleanup