private void ResetControls()
{
lstRegions.Items.Clear();
lastSelectedRegionIndex = -1;
trackMagnification.Value = 1;
lblMagnification.Text = "Magnification: 1x";
imgRegion.Reset();
region = null;
dim = Dimension.Overworld;
overworldToolStripMenuItem.Checked = true;
netherToolStripMenuItem.Checked = false;
endToolStripMenuItem.Checked = false;
if (history != null)
history.Dispose();
history = new HistoryManager(HistoryChange);
history.RecordSelectionState(imgRegion.Layers[SELECTIONLAYER].Image, "Initial State");
}