Implemented snapPicture().
If a call is made to take a screenshot, the display will be saved as a PNG file under res/pic/.