added testing window with tree view example
many changes, corrected behavior of levels and folding of scenario tree