- Rewritten energy transfer network code, should be cleaned up more in
next build/commit.