tdb fixes, some start on language tagging.