Rearranging DomPresenter

These methods were getting rather complicated. I wanted to extract
them for future adjustments.

There are several complications occuring related to dom information.
These ideas need to be cleaned up.