Smart Knives: Controlled cutting schemes to enable advanced endoscopic surgery — towards dye-mediated laser ablation. PhD Thesis.