error in csg_stat if bead type does not exist (fixes issue 77)
error in csg_stat if bead type does not exist (fixes issue 77)

richardjgowers/csg,richardjgowers/csg,richardjgowers/csg,richardjgowers/csg,richardjgowers/csg