remove debugging statements
improved/implemented capture(), captureAndDownload(), burstAndDownload()