Text Extraction: remove debugging code, properly ignore artifact content

not yet: extract alternate text for images.