Automatic triggering on motion

Saves copy of images as quickly as possible ~2Hz when detecting motion.
UI to turn on and off motion detector.