Cleanup mostly. Changed capture file format from .png to .jpg because .png took 0.4 seconds and .jpg takes ~0.07 seconds.