Pass atomic alpha to searchThread
Add mutex to searchThread