Change .events to use event_queue as the main queue.

Having multiple event queues complicated the code, and let to
problems - for example, .post would put its event at the end
of event_queue, but before any pending SDL events.

This commit dequeues all events onto event_queue, and changes the
various functions that access the event queue to use the single
event queue.