Text this: Tissue damage-tracking control system for image-guided photothermal therapy of cancer