try to ensure screen is drawn before time-consuming actions