Cleanup, removed $runloop and $query_timer_start.