title: Issues with 'waitForUser' macro from ImageJ plugin
body: <p>I am developing an ImageJ plugin to do some image analysis. I have a series of macros which I'd like to run from within the plugin.</p>
  
  <p>Using</p>
  
  <pre><code>new Macro_Runner().runMacroFromJar("macro.txt", "macro title");
  </code></pre>
  
  <p>I am able to call each of the macros from within the plugin.</p>
  
  <p>Although this seems to work, the macros stall whenever they get to a</p>
  
  <pre><code>waitForUser();
  </code></pre>
  
  <p>line. The ImageJ windows stop updating, commands are not accepted and it is necessary to Alt-Ctrl-Del to quit the program.</p>
  
  <p>Does anyone have any ideas what causes this to happen?</p>
  
  <p>Best wishes</p>
  
  <p>Ben</p>