New function to show treetexts. Some bugfixes.