Tweaked full load

Added thread check output. Added code to track each thread's bibID
ranges. Better thread recovery when threads are stale. Included the
database functions for parameterized updates.