support multiple database backends
correct some unfortunate naming choices
send stream_info ptrs to request_writer
use minimal thread count for debugging
simplified db number calculation
send ticks to stats_updaters and log thread termination