On the coordinate rings of quiver varieties associated to extended Dynkin diagrams A numerical condition for a deformation of a Gorenstein surface singularity to admit a simultaneous log-canonical model 