anchor.diff:  			if(isnum(index) && ISINRANGE(index, 1, autoqueue.len))
   				remove_from_queue(index)
   
  -		if("queue_move")
  +		if("queue_move")  // Moves items up and down the list
   			var/index = text2num(params["index"])
   			var/new_index = index + text2num(params["queue_move"])
   			if(isnum(index) && isnum(new_index))
  
positive.code: 	if (!materials)
  		say("No access to material storage, please contact the quartermaster.")
  		return 0
  	if(can_build(D, multiplier))
  		if((materials.amount(MAT_METAL) >= metal_cost * multiplier * coeff) && (materials.amount(MAT_GLASS) >= glass_cost * multiplier * coeff))
  			use_power(power)
  
  			var/list/materials_used = list(MAT_METAL=metal_cost * coeff * multiplier, MAT_GLASS=glass_cost * coeff*multiplier)
  			materials.use_amount(materials_used)
  			being_built = list(D, multiplier)
  			desc = "It's building \a [initial(D.name)]."
  			icon_state = "autolathe_n"
  			var/atom/A = drop_location()
  			var/location = get_step(src,(printdirection))
  			if(printdirection)
  				A = location
  			var/time = is_stack ? 32 : 32 * coeff * multiplier
  			sleep(time)
  			if(is_stack)
  				var/obj/item/stack/N = new D.build_path(A, multiplier)
  				N.update_icon()
  				N.autolathe_crafted(src)
  
negative.code: 	data["categories"] = categories
  	data["selected_category"] = selected_category
  
  	data["rightwall"] = wallcheck(4) // Wall data for ui
  	data["leftwall"] = wallcheck(8)
  	data["abovewall"] = wallcheck(1)
  	data["belowwall"] = wallcheck(2)
  