Added thread backlog as index mode. Inspired by hivebbs.