What does the thread do in usrp_spectrum_sense.py?

When I read the code in usrp_spectrum_sense.py,I ran into some troubles
in understanding the code.
1.It define a thread but the thread seems do nothing,so what is the
purpose of it
2.what is the process of signal processing in gr_bin_statistics