public void LoadTag(Tag tag)
 {
     HaloTag = tag;
     workingTagblock = TagBlock.CreateInstance(tag.Type);
     workingTagblock.Deserialize(tag.TagStream, 0, 0);
     Enabled = false;
     XmlDocument xDoc = new XmlDocument();
     xDoc.Load(System.IO.Path.GetDirectoryName(Application.ExecutablePath) + string.Format(@"./MetaLayouts/{0}.xml", new Sunfish.ValueTypes.TagType(tag.Type).ToPathSafeString()));
     LoadTreeView(xDoc.LastChild.LastChild, workingTagblock);
     Enabled = true;
     loaded = true;
 }