BuildTest: close menu, ignore whitespace diffs, better first diff finding