anchor.diff:  				dat += "Assume direct control : <a href='?src=[REF(src)];operation=manual'>Manual Control</a><br>"
   		else
   			dat += "Warning! Remote control protocol enabled.<br>"
  -			
  +
   
   	var/datum/browser/popup = new(user, "autosec", "Automatic Portable Turret Installation", 300, 300)
   	popup.set_content(dat)
  
positive.code: 			else if(check_anomalies) //non humans who are not simple animals (xenos etc)
  				if(!in_faction(C))
  					targets += C
  
  		if(ismecha(A))
  			var/obj/mecha/M = A
  			//If there is a user and they're not in our faction
  			if(M.occupant && !in_faction(M.occupant))
  				if(assess_perp(M.occupant) >= 4)
  					targets += M
  
  	if(!tryToShootAt(targets))
  		if(!always_up)
  			popDown() // no valid targets, close the cover
  
  /obj/machinery/porta_turret/proc/tryToShootAt(list/atom/movable/targets)
  	while(targets.len > 0)
  
negative.code: 				cover = new /obj/machinery/porta_turret_cover(loc)	//if the turret has no cover and is anchored, give it a cover
  				cover.parent_turret = src	//assign the cover its parent_turret, which would be this (src)
  
  	if(!on || (stat & (NOPOWER|BROKEN)) || manual_control)
  		return
  
  	var/list/targets = list()
  	for(var/mob/A in view(scan_range, base))
  		if(A.invisibility > SEE_INVISIBLE_LIVING)
  			continue
  
  		if(check_anomalies)//if it's set to check for simple animals
  