finetuning of safety; added gui for curiosity; code comments