Fixed the DAO enough that it can actually completely load a program for the detail view.
Saving node structure now works.

... miraculously...