Computer scheduling glitch for American Airlines threatened to bring more flight cancellations

American says most of the problems have been resolved.