inherited threading into basethread. Coded single_img.