Fixes in Clock's timing code, and a first draft of the RenderingQueue.