Removed legacy code from previous implementation.
Cleaned up some things.
The tree FINALLY works. Today is a joyous day.