tree is visualized using opengl. ready to test.