anchor.diff:  
   /mob/dead/new_player/proc/close_spawn_windows()
   	src << browse(null, "window=latechoices") //closes late choices window (Hey numbnuts go make this tgui)
  +	src << browse(null, "window=randjob") //closes the random job window
   
   // Used to make sure that a player has a valid job preference setup, used to knock players out of eligibility for anything if their prefs don't make sense.
   // A "valid job preference setup" in this situation means at least having one job set to low, or not having "return to lobby" enabled
  
positive.code: 		if(column_counter > 0 && (column_counter % 3 == 0))
  			dat += "</td><td valign='top'>"
  	dat += "</td></tr></table></center>"
  	dat += "</div></div>"
  	var/datum/browser/popup = new(src, "latechoices", "Choose Profession", 680, 580)
  	popup.add_stylesheet("playeroptions", 'html/browser/playeroptions.css')
  
negative.code: 		LateChoices()
  		return
  
  	if(href_list["cancrand"])
  		src << browse(null, "window=randjob") //closes the random job window
  		LateChoices()
  		return
  
  	if(href_list["SelectedJob"])
  		if(href_list["SelectedJob"] == "Random")
  			var/list/dept_data = list()
  			for(var/datum/job_department/department as anything in SSjob.joinable_departments)
  				for(var/datum/job/job_datum as anything in department.department_jobs)
  					if(IsJobUnavailable(job_datum.title, TRUE) != JOB_AVAILABLE)
  						continue
  					dept_data += job_datum.title
  			var/random = pick(dept_data)
  			var/randomjob = "<p><center><a href='byond://?src=[REF(src)];SelectedJob=[random]'>[random]</a></center><center><a href='byond://?src=[REF(src)];SelectedJob=Random'>Reroll</a></center><center><a href='byond://?src=[REF(src)];cancrand=[1]'>Cancel</a></center></p>"
  			var/datum/browser/popup = new(src, "randjob", "<div align='center'>Random Job</div>", 200, 150)
  			popup.set_window_options("can_close=0")
  			popup.set_content(randomjob)
  			popup.open(FALSE)
  			return
  		if(!SSticker?.IsRoundInProgress())
  			to_chat(usr, span_danger("The round is either not ready, or has already finished..."))
  			return
  