title: Blender Python scripting, trying to prevent UI lock up while doing large calculations
body: <p>I am working in blender doing a script for N number of objects. When running my script, it locks up the user interface while it is doing its work. I want to write something that prevents this from happening so i can see what is happening on the screen as well as use my custom UI to show a progress bar. Any ideas on how this is doable in either python or blender? Most of the calculations only take a few minutes and i am aware that this request might make them take longer than normal. Any help would be appreciated.</p>
  
  <p>The function that is doing most of the work is a <strong>for a in b</strong> loop.</p>