BDB logging is complete and tested. --nogpu added

nogpu option was added to make it easier to perform
trivial tests without using a GPU.