Small improvements in BandwidthThread