Changed usage ControlObjectThread instead of ControlObjectThreadMain.