There will always be more to say, but I comment on the supposed effects of a closure of the Polish borders in the 1340s in the course of a much longer thread about the Black Death in Poland, here.