1) Cleaned up the ubench main and AppMain to be a little more configurable
2) Make the place that the Close logic on the file should go more explicit
3) Some code to try and help debugging of why Release version does not work