Getgauge fixes

Fix of duplicate gauge bug, incorrect gauge number in gauge data objects; miscellaneous code cleanups in ClawPlotData.getgauge