Add notes on event queues + state machines. I'll need a bit of both