Netlist: fixed crash when using analog chips. Did some preparation work to generalize internal links.