some work to get control tree working; only thing left is the scroll bars