Fix elaboration error with multiple libraries
Fix an elaboration crash with open ports
Function cgen_net_map type only used in one place
Change the way signals are passed to subprograms
Fix passing sub-elements of signals to subprograms