Added missing self for controlthread.py.