anchor.diff:  
   	for(var/obj/machinery/power/M in loc)
   
  -		if(M.netnum < 0)
  -			continue
  -		if(M.netnum == 0)
  +		if(!M)
  +			continue
  +
  +		if(!M.netnum)
   			var/datum/powernet/PN = powernets[netnum]
   			PN.nodes += M
   			M.netnum = netnum
   			M.powernet = powernets[M.netnum]
   
  +		if(M.netnum < 0)
  +			continue
  +
   		var/datum/powernet/PN = powernets[netnum]
   		var/datum/powernet/TPN = powernets[M.netnum]
   
   		PN.merge_powernets(TPN)
   
   	for(var/obj/machinery/power/apc/N in loc)
  +
  +		if(!N)
  +			continue
  +
   		var/obj/machinery/power/M
   		M = N.terminal
   
  
positive.code: 	TB = get_step(src, direction)
  
  	for(var/obj/cable/TC in TB)
  		if(src == TC)
  			continue
  
  
negative.code: 
  	for(var/obj/cable/C in loc)
  
  
  		if(!C)
  			continue
  
  		if(C == src)
  			continue
  		if(netnum == 0)
  