Add ability to capture screenshots.