TOC: make full title available in a title tooltip

Also move the isDirty/hasRemoteChanges asterisk stuff outside of the
text that gets ellipsized