store visible_sensors and visible_actuators in  so that directives do not have to keep re-filtering for these, because they were calling the filters a LOT and that is inefficient