This phase I trial studies the side effects and the safety of injecting HSV1716 (a new experimental therapy) into or near the tumor resection cavity. The injection will be done at the time of surgery. HSV1716 is a virus that has a gene which has been changed or removed (mutated) in such a way that lets the virus multiply in dividing cells of the tumor and kills the tumor cells.