US stocks gain in midday trading; GM up on buyback – seattlepi.com