The dollar headed for its biggest monthly gain since July on Tuesday and stands out as the strongest so-called safe asset as war in the Mideast has set oil prices surging and raised the risk of global recession. Overnight the dollar extended gains widely, save for against the yen where renewed threats of intervention from Tokyo have traders wary of selling the yen too far past 160 per dollar.