TakePicture handling added, time measurement extended with new measurements.