No longer allocate TreeEdges until the path is selected through
Also removed the (unused) action history mechanism, which is a failed experiment just complicating the code