Creation of new Thesaurus object, based on data filled on client-side.

Small bugfixes.