Improvements to ddiff