final History history = IGV.getInstance().getSession().getHistory();
UIUtilities.invokeOnEventThread(new Runnable() {
public void run() {
searchTextField.setText(position);
forwardButton.setEnabled(history.canGoForward());
backButton.setEnabled(history.canGoBack());
roiToggleButton.setEnabled(!Globals.CHR_ALL.equals(chrName));
zoomControl.setEnabled(!Globals.CHR_ALL.equals(chrName));
}
});