Remove obsolete code.
Wait for all the images to finish loading before archiving a screenshot.