Fixed header detection
Do not create paragraphs for whitespace only captures
Fix horizontal rule detection
Added license notice