Fix some edge-cases in the thesarus code

Handle missing parts-of-speach and trailing pipes on lines.
Select the contents of the Find Next box when the dialog is first created

It was only being selected when the dialog already existed and was just
being re-shown.