added bonsai treeview, fixed some minor glitches