Finished Book, fixed various bugs