Fixed example code for populating a tree view, replacing it with code fo...

...r a minimal working example.