Fix thesaurus title.
Improve thesaurus detection when key is not provided.
Fix template (#99).