rem: KillThread (T);
add: Task_SetState (T, TASK_EXIT);
context: StopCycleColorMap (CYCLE_REF CycleRef){	Thread T;	T = (Thread) CycleRef;	if (T)	{		TaskControl.CMapPtr = (COLORMAPPTR)1;		while (TaskControl.CMapPtr)			TaskSwitch ();		_batch_flags &= ~ENABLE_CYCLE;		KillThread (T);	}}