Bug resulted in iterative creatin of histogram window re