Worked out initial keying-task queue logic.