public static void AddRecordData(object o)
        {
            Record             record = null;
            ElderScrollsPlugin master;

            master = o as ElderScrollsPlugin;
            if (master != null)
            {
                record = master.Header.Record;
            }

            var view = o as RecordView;

            if (view != null)
            {
                record = view.Record;
                master = PluginData.GetRecordViewMasterFile(view);
            }

            if (record == null)
            {
                Instance.textBox1.Text = "";
                return;
            }

            var xelem = record.WriteXML(master);

            Instance.textBox1.Text = xelem.ToString();

            // This is what it takes to draw a new
            AddExpandGetter();
            Instance.treeListView1.Roots = GetXmlTree(xelem.Root, new RecordViewProperties()).Nodes;
            Instance.treeListView1.ExpandAll();
            var parent = Instance.treeListView1.GetParent(Instance.treeListView1.SelectedObject);

            Instance.treeListView1.Columns[1].Text = master.FileName;
            //Instance.treeListView1.CanExpandGetter = null;
        }