Looks exciting. Downloading patch as we speak.
On the wrapping problem, I figured I was seeing something consistent with your explanation in our own recent experiments where a particular glossary entry, with an embedded table wouldn’t wrap to any width less than the table. That made sense.
I’m not sure that what I’ve seen with some of the other examples is consistent with a word length problem, but it might be with a “link length”. I’ll do some more probing.