initialize footer_space to prevent a valgrind warning on db_test DBTest.NoSpace.  Only 16 bytes ... I will take the performance hit.  Do not exit BGThread() while anything exists in the work queue.  Addresses a race condition where database close and leveldb shutdown are running on different threads ... should not be needed ... but it is.