Cleaned up a variable that is no longer used.
Rewrote the processor to no longer move nodes and instead recreate them.