Index: sites/all/modules/book_copy/book_copy.module
===================================================================
--- sites/all/modules/book_copy/book_copy.module	(revision 2197)
+++ sites/all/modules/book_copy/book_copy.module	(working copy)
@@ -91,6 +91,17 @@
 }
 
 /**
+ * Implenetation of hook_nodeapi
+ */
+function book_copy_nodeapi(&$node, $op) {
+  switch ($op) {
+    case 'delete':
+     // If a node is deleted, remove it's entry from the book_copy_history table
+     db_query("DELETE FROM {book_copy_history} WHERE nid = %d", $node->nid); 
+  }
+}
+
+/**
  * This function is intended to be called via drupals batch processing system and
  * will clone an entire or partial book.
  * @param object $book The book from which we are cloning content
@@ -182,8 +193,9 @@
   }
 
   if ($context['finished'] == 1) {
+    global $user;
     foreach ($context['sandbox']['nidmap'] as $snid => $nid) {
-      db_query('INSERT INTO {book_copy_history} (nid, bid, sbid, snid, copied) VALUES (%d, %d, %d, %d, %d)', $nid, $context['sandbox']['newbid'], $bid, $snid, time());
+      db_query('INSERT INTO {book_copy_history} (nid, bid, sbid, snid, copied, uid) VALUES (%d, %d, %d, %d, %d, %d)', $nid, $context['sandbox']['newbid'], $bid, $snid, time(), $user->uid);
     }
   }
 }
