finish up threads and bug fixes

This commit has threads when searching for roll.