What year did glass change in house windows .from the old glass to what we have today with out blemishes and?

old glass had pits and waves and new glass in windows today is smoth with no flaws , When did it change?