anchor.diff:  			dat += "</tr><tr>"
   			line_length = 1
   
  -		dat += "<td><A href='?src=\ref[src];category=[C];menu=2'>[C]</A></td>"
  +		dat += "<td><A href='?src=\ref[src];category=[C];menu=[AUTOLATHE_CATEGORY_MENU]'>[C]</A></td>"
   		line_length++
   
   	dat += "</tr></table></div>"
   	return dat
   
   /obj/machinery/autolathe/proc/category_win(mob/user,var/selected_category)
  -	var/dat = "<A href='?src=\ref[src];menu=1'>Return to category screen</A>"
  +	var/dat = "<A href='?src=\ref[src];menu=[AUTOLATHE_MAIN_MENU]'>Return to main menu</A>"
   	dat += "<div class='statusDisplay'><h3>Browsing [selected_category]:</h3><br>"
   	dat += "<b>Metal amount:</b> [src.m_amount] / [max_m_amount] cm<sup>3</sup><br>"
   	dat += "<b>Glass amount:</b> [src.g_amount] / [max_g_amount] cm<sup>3</sup><hr>"
  
positive.code: 		dat = wires.GetInteractWindow()
  
  	else
  		if(screen == 1)
  			dat = main_win(user)
  		else
  			dat += category_win(user,selected_category)
  
  	var/datum/browser/popup = new(user, "autolathe", name, 400, 500)
  	popup.set_content(dat)
  
negative.code: /obj/machinery/autolathe/proc/main_win(mob/user)
  	var/dat = "<div class='statusDisplay'><h3>Autolathe Menu:</h3><br>"
  	dat += "<b>Metal amount:</b> [src.m_amount] / [max_m_amount] cm<sup>3</sup><br>"
  	dat += "<b>Glass amount:</b> [src.g_amount] / [max_g_amount] cm<sup>3</sup>"
  
  	dat += "<form name='search' action='?src=\ref[src]'> \
  	<input type='hidden' name='src' value='\ref[src]'> \
  	<input type='hidden' name='search' value='to_search'> \
  	<input type='hidden' name='menu' value='[AUTOLATHE_SEARCH_MENU]'> \
  	<input type='text' name='to_search'> \
  	<input type='submit' value='Search'> \
  	</form><hr>"
  
  	var/line_length = 1
  	dat += "<table style='width:100%' align='center'><tr>"
  