2001/01/01 CompoundDoc speedups by: kosh

I found and removed at least one major slowdown problem in CompoundDoc. All usages of CompoundDocs should be improved in speed. Editing, viewing etc. overall I found it while working on another feature.