Remove unselected DOM nodes from body, plus refactoring
Basic (buggy) implementation of page spanning for tall elements