anchor.diff:  	proc/debug_variable(name, value, level, var/datum/DA = null)
   		var/html = ""
   
  -		if(DA && check_rights(R_VAREDIT))
  +		if(DA && check_rights(R_VAREDIT,0))
   			html += "<li style='backgroundColor:white'>(<a href='?_src_=vars;datumedit=\ref[DA];varnameedit=[name]'>E</a>) (<a href='?_src_=vars;datumchange=\ref[DA];varnamechange=[name]'>C</a>) (<a href='?_src_=vars;datummass=\ref[DA];varnamemass=[name]'>M</a>) "
   		else
   			html += "<li>"
  
positive.code: 		if(ismob(D))
  			body += "<option value='?_src_=vars;mob_player_panel=\ref[D]'>Show player panel</option>"
  			body += "<option value='?_src_=vars;regenerateicons=\ref[D]'>Regenerate Icons</option>"
  			if(check_rights(R_REJUVINATE))
  				body += "<option value='?_src_=vars;godmode=\ref[D]'>Toggle Godmode</option>"
  			
  
  
  
  		if(check_rights(R_VAREDIT))
  			if(ismob(D))
  				body += "<option value>---</option>"
  				body += "<option value='?_src_=vars;give_spell=\ref[D]'>Give Spell</option>"
  				body += "<option value='?_src_=vars;give_disease=\ref[D]'>Give Disease</option>"
  				body += "<option value='?_src_=vars;drop_everything=\ref[D]'>Drop Everything</option>"
  				body += "<option value='?_src_=vars;direct_control=\ref[D]'>Assume Direct Control</option>"
  				if(check_rights(R_BUILDMODE))
  					body += "<option value='?_src_=vars;build_mode=\ref[D]'>Toggle Build Mode</option>"
  					
  				if(check_rights(R_FUN))
  					body += "<option value='?_src_=vars;ninja=\ref[D]'>Make Space Ninja</option>"
  					body += "<option value='?_src_=vars;make_skeleton=\ref[D]'>Make 2spooky</option>"
  					body += "<option value='?_src_=vars;gib=\ref[D]'>Gib</option>"
  
  				if(ishuman(D))
  					if(check_rights(R_SPAWN))
  						body += "<option value>---</option>"
  						body += "<option value='?_src_=vars;setmutantrace=\ref[D]'>Set Mutantrace</option>"
  						body += "<option value='?_src_=vars;makeai=\ref[D]'>Make AI</option>"
  
negative.code: 					"}
  
  			else
  				if(check_rights(R_VAREDIT,0))
  					body += "<a href='?_src_=vars;datumedit=\ref[D];varnameedit=name'><b>[D]</b></a>"
  					if(A.dir)
  						body += "<br><font size='1'><a href='?_src_=vars;rotatedatum=\ref[D];rotatedir=left'><<</a> <a href='?_src_=vars;datumedit=\ref[D];varnameedit=dir'>[dir2text(A.dir)]</a> <a href='?_src_=vars;rotatedatum=\ref[D];rotatedir=right'>>></a></font>"
  