Added the ability to take a screenshot.