anchor.diff:  	var/dat = "<HTML><BODY><TT><B>Door [src.id] controls</B>"
   	user.machine = src
   	var/d2
  -	if (!src.timing)
  -		update_display("SET","TIME")
   	if (src.timing)
  -		d2 = text("<A href='?src=\ref[];time=0'>Stop Timer</A><br>", src)
  -	else
  -		d2 = text("<A href='?src=\ref[];time=1'>Set Timer</A><br>", src)
  -	var/second = src.time % 60
  -	var/minute = (src.time - second) / 60
  +		d2 = text("<A href='?src=\ref[];timing=0'>Stop Timer and open doors</A><br>", src)
  +	else
  +		d2 = text("<A href='?src=\ref[];timing=1'>Activate Timer and close doors</A><br>", src)
  +	var/timeleft = timeleft()
  +	var/second = round(timeleft % 60)
  +	var/minute = round((timeleft - second) / 60)
   	dat += text("<br><HR>\nTimer System: [d2]\nTime Left: [(minute ? text("[minute]:") : null)][second] <A href='?src=\ref[src];tp=-60'>-</A> <A href='?src=\ref[src];tp=-1'>-</A> <A href='?src=\ref[src];tp=1'>+</A> <A href='?src=\ref[src];tp=60'>+</A>")
   	if (targetflashers.len)
   		dat += "<BR>"
   	for(var/obj/machinery/flasher/F in targetflashers)
  -		if(F.last_flash && world.time < F.last_flash + 150)
  +		if(F.last_flash && (F.last_flash + 150) > world.time)
   			dat += text("<BR><A href='?src=\ref[];fc=1'>Flash Cell (Charging)</A>", src)
   		else
   			dat += text("<BR><A href='?src=\ref[];fc=1'>Flash Cell</A>", src)
  
positive.code: 	anchored = 1.0    		// can't pick it up
  	density = 0       		// can walk through it.
  	var/id = null     		// id of door it controls.
  	var/time = 1      		// defaults to 0 seconds timer
  	var/timing = 1    		// boolean, true/1 timer is on, false/0 means it's not timing
  	var/childproof = 0		// boolean, when activating the door controls, locks door for 1 minute
  	var/picture_state		// icon_state of alert picture, if not displaying text/numbers
  	var/obj/machinery/door/window/brigdoor/targetdoor
  	var/list/obj/machinery/flasher/targetflashers
  
  /obj/machinery/door_timer/New()
  	..()
  	for(var/obj/machinery/door/window/brigdoor/M in world)
  		if (M.id == src.id)
  			targetdoor = M
  			break
  	if (isnull(targetdoor))
  		stat |= BROKEN
  	targetflashers = list()
  	for(var/obj/machinery/flasher/F in world)
  		if(F.id == src.id)
  			targetflashers += F
  
  //Main door timer loop, if it's timing and time is >0 reduce time by 1.
  // if it's less than 0, open door, reset timer
  
negative.code: 	if (stat & (NOPOWER|BROKEN))
  		return
  	if (src.timing)
  		if (world.time > src.releasetime)
  			src.opendoor() // open doors, reset timer, clear status screen
  			src.timing = 0
  		src.updateUsrDialog()
  		src.update_icon()
  	else
  		opendoor()
  	return
  
  // has the door power sitatuation changed, if so update icon.
  /obj/machinery/door_timer/power_change()
  	..()
  	update_icon()
  
  // open/closedoor checks if door_timer has power, if so it checks if the
  