Implemented submitEvent and getQueuedEvents in plot.
Started implementing denouer.