Fixed table drawing error after downloading all and made downloading
more robust with locks