anchor.diff:  		usr << browse(null, "window=library")
   		onclose(usr, "library")
   		return
  -
  +	if(href_list["page"] && screenstate == 4 && isnum(href_list["page"]))
  +		page = text2num(href_list["page"])
   	if(href_list["switchscreen"])
   		switch(href_list["switchscreen"])
   			if("0")
  
positive.code: 				dat += "<A href='?src=\ref[src];orderbyid=1'>(Order book by SS<sup>13</sup>BN)</A><BR><BR>"
  				dat += "<table>"
  				dat += "<tr><td>AUTHOR</td><td>TITLE</td><td>CATEGORY</td><td></td></tr>"
  				dat += libcomp_menu
  				dat += "</table>"
  			dat += "<BR><A href='?src=\ref[src];switchscreen=0'>(Return to main menu)</A><BR>"
  		if(5)
  
negative.code: 	load_library_db_to_cache()
  	if(!cachedbooks)
  		return
  	libcomp_menu = list("")
  	
  	for(var/i in 1 to cachedbooks.len)
  		var/datum/cachedbook/C = cachedbooks[i]
  		page = round(i/250)+1
  		if (libcomp_menu.len < page)
  			libcomp_menu[] = ""
  		libcomp_menu[page] += "<tr><td>[C.author]</td><td>[C.title]</td><td>[C.category]</td><td><A href='?src=\ref[src];targetid=[C.id]'>\[Order\]</A></td></tr>\n"
  
  /obj/machinery/computer/libraryconsole/bookmanagement/New()
  	..()
  