Table rename bugfixes
Minor sqlite junk left in
Now tracking book content, and properly rolling it back