Tree now (roughly) hooked up to actual program state