Cache result of get_async_result, so successive calls to gt_result won't yield different values.
Removed references to index_dirty, indexed and needs_deduplication.
Removed scripts.daemons (dead code)