Add waitbar for long computations.