Task execution code ported from CEE; once again compiles but not tested.  However I am fairly confident it still works given that it is essentially the same code.