Add editor controls to xml3d examples