Better Header Logic

See when the first line break is to determine how many headers a page
has and therefore know where to cut for the body and metadata