complete on-demand texture image generation
fix output logic
update pack viewing for new structure