tree: removed stl stack; gui: utilize minheap

I changed my tree implementation to use my stack implementation instead
of STL stack.
I found the line I overlooked which prevented setting a heap to be a
minheap
Project is 100% working.