38 seconds for 77 books is a perfectly normal duration, but the software likely crashed with 18,000 books.

I need to add logging for debugging.
Tomorrow is the first day of school, and I'll likely be at the kids' school. I'll look into the error this evening and try to release a new version.