public override string ToString()
{
if (Resource is IffChunk) {
var chunk = (IffChunk)Resource;
return "(" + chunk.ChunkType + " #" + chunk.ChunkID + ") " + chunk.ChunkLabel;
}
if (Resource is IffFile) return ((IffFile)Resource).Filename;
return base.ToString();
}