Stocks Waver But Hold On to Weekly Gains