Fixes to deal with defined-but-empty Thing Names

These address situations where you could wind up with a Thing that
couldn't be navigated to, because the Link would render empty.
Basically, we now test whether the name has zero length, and treat it as
empty if so.