initial support for cpt labels
cptwrite now writes segment labels
Preparation for version 1.48