anchor.diff:  	var/dat = {"<div class='block'>
   				<h3>Stored Guns</h3>
   				<table align='center'>"}
  -	for(var/i = contents.len, i >= 1, i--)
  -		var/obj/item/I = contents[i]
  -		dat += "<tr><A href='?src=\ref[src];retrieve=\ref[I]'>[I.name]</A><br>"
  +	if(LAZYLEN(contents))
  +		for(var/i in 1 to contents.len)
  +			var/obj/item/I = contents[i]
  +			dat += "<tr><A href='?src=\ref[src];retrieve=\ref[I]'>[I.name]</A><br>"
   	dat += "</table></div>"
   
   	var/datum/browser/popup = new(user, "gunlocker", "<div align='center'>[name]</div>", 350, 300)
  
positive.code: 	if(mapload)
  		for(var/obj/item/I in loc.contents)
  			if(istype(I, gun_category))
  				I.loc = src
  			if(contents.len >= capacity)
  				break
  	update_icon()
  
  /obj/structure/guncase/update_icon()
  	cut_overlays()
  	for(var/i = contents.len, i >= 1, i--)
  		add_overlay(image(icon = src.icon, icon_state = "[case_type]", pixel_x = 4 * (i -1) ))
  	if(open)
  		add_overlay("[icon_state]_open")
  	else
  
negative.code: 		var/obj/item/O = locate(href_list["retrieve"]) in contents
  		if(!O || !istype(O))
  			return
  		if(!usr.canUseTopic(src) || !open)
  			return
  		if(ishuman(usr))
  			if(!usr.put_in_hands(O))
  