The front-month July crude contract managed a small gain May 24 in the New York market despite a 1.4% strengthening of the US dollar and a continued drop in the Dow Jones Industrial Average as the danger of a military confrontation between North and South Korea was added to worries of an economic meltdown in Europe.