bug fix exportapp - relative image urls, read index race; delay exit in export apps