First attempt at getting legacy tree dialog to work with new trees. Just saving this revision since I might need to reference the code later but am going to revert since this doesn't seem like the way to go.
Fixes a few stupid medium trust issues... even though running in full trust... it never ends! :/
Fixes infinite loop ... oops.
Got a solution for legacy dialog trees with the new format trees, just committing all of the work in case i need to come back and reference some stuff I'm about to remove.
Ok, getting pretty close to making those legacy tree dialogs work.