WIP for virtual channel - added mutex to protect array growth