Create `event_loop` module

Currently only prints the received events, will need to port all code over to use this module instead of manipulating ExtensionState manually.

Created by  finchie  on December 17, 2025
3YGYMEXVHOHRQVPC53MVPSLI2ZJM77MBPWNPDDCL56DNCPUC6XTAC
Change contents