fixed bugs in energy calibration frame, using wxutils.GridPanel