Issue #5: Fixed loop building bug in VAST array exporter and removed the invalid const qualifier from all control-flow masks