The stock market mostly recovered from early weakness following a London terrorist attack over the weekend, while crude oil prices continued their recent trek lower, falling 1.2%. The Nasdaq and S&P 500 traded in slightly negative territory, while the Dow Jones industrial average inched higher.