change jpegCallback, can take pics with some interval, preview
doesnot freeze, troubles with stop button