A DolDoc in memory is a Circular Queue of cmds and graphics.  See CDocEntry for the entry structure.  See TipOfDay() for a nice 
example.

DolDoc's are used for the editor, viewer, browser, and cmd line.