Program: 165639
Project: 165639
Buggy source:
@Override protected void drawGuiContainerBackgroundLayer(float v,int i,int i2){
  if (!init) {
    return;
  }
  updateStorageList();
  updateContentsList();
  requestListsIfNeeded();
  String text=radiusLabel.getText();
  if ("String_Node_Str".equals(text)) {
    text="String_Node_Str";
  }
  visibleRadiusLabel.setText(text);
  int selected=storageList.getSelected();
  removeButton.setEnabled(selected != -1);
  if (selected <= 0 || storageList.getChildCount() <= 2) {
    upButton.setEnabled(false);
    downButton.setEnabled(false);
    topButton.setEnabled(false);
    bottomButton.setEnabled(false);
  }
 else   if (selected == 1) {
    topButton.setEnabled(false);
    upButton.setEnabled(false);
    downButton.setEnabled(true);
    bottomButton.setEnabled(true);
  }
 else   if (selected == storageList.getChildCount() - 1) {
    topButton.setEnabled(true);
    upButton.setEnabled(true);
    downButton.setEnabled(false);
    bottomButton.setEnabled(false);
  }
 else {
    topButton.setEnabled(true);
    upButton.setEnabled(true);
    downButton.setEnabled(true);
    bottomButton.setEnabled(true);
  }
  if (!tileEntity.isDummy()) {
    tileEntity.requestRfFromServer(RFTools.MODID);
    int currentRF=GenericEnergyStorageTileEntity.getCurrentRF();
    energyBar.setValue(currentRF);
    exportToStarred.setCurrentChoice(tileEntity.isExportToCurrent() ? 0 : 1);
  }
 else {
    if (System.currentTimeMillis() - lastTime > 300) {
      lastTime=System.currentTimeMillis();
      tileEntity.requestDataFromServer(RFTools.MODID,StorageScannerTileEntity.CMD_SCANNER_INFO,TypedMap.EMPTY);
    }
    energyBar.setValue(rfReceived);
    exportToStarred.setCurrentChoice(exportToCurrentReceived ? 0 : 1);
  }
  drawWindow();
}

Fixed version (ground truth):
@Override protected void drawGuiContainerBackgroundLayer(float v,int i,int i2){
  if (!init) {
    return;
  }
  updateStorageList();
  updateContentsList();
  requestListsIfNeeded();
  String text=radiusLabel.getText();
  if ("String_Node_Str".equals(text)) {
    text="String_Node_Str";
  }
  visibleRadiusLabel.setText(text);
  int selected=storageList.getSelected();
  removeButton.setEnabled(selected != -1);
  if (selected <= 0 || storageList.getChildCount() <= 2) {
    upButton.setEnabled(false);
    downButton.setEnabled(false);
    topButton.setEnabled(false);
    bottomButton.setEnabled(false);
  }
 else   if (selected == 1) {
    topButton.setEnabled(false);
    upButton.setEnabled(false);
    downButton.setEnabled(true);
    bottomButton.setEnabled(true);
  }
 else   if (selected == storageList.getChildCount() - 1) {
    topButton.setEnabled(true);
    upButton.setEnabled(true);
    downButton.setEnabled(false);
    bottomButton.setEnabled(false);
  }
 else {
    topButton.setEnabled(true);
    upButton.setEnabled(true);
    downButton.setEnabled(true);
    bottomButton.setEnabled(true);
  }
  if (!tileEntity.isDummy()) {
    tileEntity.requestRfFromServer(RFTools.MODID);
    long currentRF=GenericEnergyStorageTileEntity.getCurrentRF();
    energyBar.setValue(currentRF);
    exportToStarred.setCurrentChoice(tileEntity.isExportToCurrent() ? 0 : 1);
  }
 else {
    if (System.currentTimeMillis() - lastTime > 300) {
      lastTime=System.currentTimeMillis();
      tileEntity.requestDataFromServer(RFTools.MODID,StorageScannerTileEntity.CMD_SCANNER_INFO,TypedMap.EMPTY);
    }
    energyBar.setValue(rfReceived);
    exportToStarred.setCurrentChoice(exportToCurrentReceived ? 0 : 1);
  }
  drawWindow();
}