click on screen to redraw

I do my number crunching in Matlab and the simulation in Steve.

I manually iterate. In Control.tz I renamed iterate to manual-iterate. Then when I want to iterate, in Matlab I call a method called web-iterate in my controller that calls manual-iterate.

This works well. The problem is that I cannot actually watch the simulation. In order to get it to redraw I have to mouse-click on the screen. It will then redraw one frame (or sometimes a few). The simulation goes on but the agent appears frozen on the screen.

Any ideas? Is there a draw command I can call manually? I tried putting in a few sleep commands to no effect.

I am using breve cli 2.7.2 for linux.

Thanks,
Jonathan