Stocks closed mix; Dow switch reflects a focus on tech; American Airlines plans layoffs