Issue #160: Several fixes for freeform networks to work with SRN type
networks. (i.e. with context neurons)