Code for CTW node updates, other notes and ideas.