Modest Market Gains Amid Volatility; IT Sector Declines for Third Week