Improved CFlowNode::CreatedNode error detection.
Added InternalSetTargetEntity to FlowNode. (Moved from EntityFlowNode)