Added debug system that can display textures.