Fixed the gui for the new texture handling