ata: do some threading-related corrections (some sync related where it matters)....