Const correctness
Added comments to DomModel (and some clean-up)
Reset DOM when loading a document