Improved gallery debug profile.