Improved picture stability

- Better ctrl-c handling
- Better error handling
- Pause before taking picture for stable image
- Specify number of pictures from command line