Added more flexible clustering of threads and clustering by address regex