More refactoring in RefDetectorViewer

Refs #10441