Update main_event_loop.rb

Handling both broadcast and selector events