updated g4 DetectorMessenger class