The only thing I can think that might work is to add the following method:
and place a call to it before every 'step' and 'turn' call.
private void markAction()
{
int mark = (int)(System.currentTimeMillis()/600);
while (mark == (int)(System.currentTimeMillis()/600));
getWorld().repaint();
}
