Added PlanControlState to the set of messages sent to TREX.
Fix to prevent task crash when inline messages are NULL.