I love PLLs!
I designed this dual oscillator to behave similarly to the internals of the 4046, and then added my own phase detector, dividers, integrator, etc.
(And some other PLL toolbox type modules. I actually like them for creating rhythms almost more than just locking frequencies)