Integrates Sergio's code for tree_insert into tree_insertn (with some changes).  It is crashing in gc mode b/c there are unlocked nodes when the collector runs.