Force an UI refresh during a very time consuming calculation.

app.UpdateUI( ms )