private void CleanupKeys() { foreach(NamedTileKey key in Keys.Values) key.Dispose(); Keys.Clear(); Keys = null; }