moved books into link structure, fixed lens redraw