continued debugging of database operations, relating to library management and refresh.
Merge pull request #4 from johncc47/master

More database debugging relating to library management