Fix UI test failures and add output to debug diff generation on travis.