Yeah, the connections to the 4066 should have diodes and a pulldown resistor. And I’m not sure what’s supposed to be going on with the +V connected to the output. If you don’t need s-trigger the 4066 could be replaced with a smaller LM358. Or just go directly to the output jack, the buffering isn’t necessarily mandatory.