added search db for query logging, changed timer_calc to allow for unformatted results