Fixed up the node system, implemented a trial guard to patrol along them.
Merging back to make the node code accessible.