improved texture editor (only generates textures if needed, has btnClose)
added missing abstract type panel