anchor.diff:  	var/list/dat = list("<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'><title>Ticket #[id]</title></head>")
   	var/ref_src = "[REF(src)]"
   	dat += "<h4>Admin Help Ticket #[id]: [LinkedReplyName(ref_src)]</h4>"
  -	dat += "<b>State: "
  -	switch(state)
  -		if(AHELP_ACTIVE)
  -			dat += "<font color='red'>OPEN</font>"
  -		if(AHELP_RESOLVED)
  -			dat += "<font color='green'>RESOLVED</font>"
  -		if(AHELP_CLOSED)
  -			dat += "CLOSED"
  -		else
  -			dat += "UNKNOWN"
  -	dat += "</b>[FOURSPACES][TicketHref("Refresh", ref_src)][FOURSPACES][TicketHref("Re-Title", ref_src, "retitle")]"
  +	dat += "<b>State: [ticket_status()]</b>"
  +	dat += "[FOURSPACES][TicketHref("Refresh", ref_src)][FOURSPACES][TicketHref("Re-Title", ref_src, "retitle")]"
   	if(state != AHELP_ACTIVE)
   		dat += "[FOURSPACES][TicketHref("Reopen", ref_src, "reopen")]"
   	dat += "<br><br>Opened at: [gameTimestamp(wtime = opened_at)] (Approx [DisplayTimeText(world.time - opened_at)] ago)"
  
positive.code: /client/var/adminhelptimerid = 0 //a timer id for returning the ahelp verb
  /client/var/datum/admin_help/current_ticket //the current ticket the (usually) not-admin client is dealing with
  
  //
  //TICKET MANAGER
  //
  
  GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
  
  /datum/admin_help_tickets
  	var/list/active_tickets = list()
  	var/list/closed_tickets = list()
  	var/list/resolved_tickets = list()
  
  	var/obj/effect/statclick/ticket_list/astatclick = new(null, null, AHELP_ACTIVE)
  
negative.code: 	for(var/I in _interactions)
  		dat += "[I]<br>"
  
  	// Append any tickets also opened by this user if relevant
  	var/list/related_tickets = GLOB.ahelp_tickets.TicketsByCKey(initiator_ckey)
  	if (related_tickets.len > 1)
  		dat += "<br/><b>Other Tickets by User</b><br/>"
  		for (var/datum/admin_help/related_ticket in related_tickets)
  			if (related_ticket.id == id)
  				continue
  			dat += "[related_ticket.TicketHref("#[related_ticket.id]")] ([related_ticket.ticket_status()]): [related_ticket.name]<br/>"
  
  	usr << browse(dat.Join(), "window=ahelp[id];size=620x480")
  
  /**
   * Renders the current status of the ticket into a displayable string
   */
  /datum/admin_help/proc/ticket_status()
  	switch(state)
  		if(AHELP_ACTIVE)
  			return "<font color='red'>OPEN</font>"
  		if(AHELP_RESOLVED)
  			return "<font color='green'>RESOLVED</font>"
  		if(AHELP_CLOSED)
  			return "CLOSED"
  		else
  			stack_trace("Invalid ticket state: [state]")
  			return "INVALID, CALL A CODER"
  
  /datum/admin_help/proc/Retitle()
  	var/new_title = input(usr, "Enter a title for the ticket", "Rename Ticket", name) as text|null
  