Minimum iteration and overhead support.

Ensure we run at least 1 iteration.
Take into account overhead of an empty benchmark.
Minor cleanup of code.
Code reformat
Merged with upstream
More formatting tweaks