anchor.diff:  		var/dat = "<HTML><BODY><TT>"
   		dat += "<HR>Timer System:</hr>"
   		dat += "<b>Door [src.id] controls</b><br/>"
  -		if (src.timing)
  +		if (timing)
   			dat += "<a href='?src=\ref[src];timing=0'>Stop Timer and open door</a><br/>"
   		else
   			dat += "<a href='?src=\ref[src];timing=1'>Activate Timer and close door</a><br/>"
  
positive.code: 
  
  	proc/timeleft()
  		. = (src.timing ? (releasetime-world.time) : timelength)/10
  		if(. < 0)
  			. = 0
  
  
  	proc/timeset(var/seconds)
  		if(src.timing)
  			releasetime=world.time+seconds*10
  		else
  			timelength=seconds*10
  
negative.code: // update the door_timer window and the icon
  	process()
  		if(stat & (NOPOWER|BROKEN))	return
  		if(timing)
  			if(world.time > src.releasetime)
  				src.timer_end() // open doors, reset timer, clear status screen
  				timing = 0
  				timeset(0)
  			src.updateUsrDialog()
  			src.update_icon()
  