nightly work; C++11, database work and logging improvements