Greatly improved stability. Fixed crash when set folder does
not exist, Fixed crash when quicky starting 1 frame capture
batch many time in a row. Add first frame to avi naming to avoid
batch chunks (>2Gb) overwrite each other if time is not part
of the naming convention.
I'd consider this good candidate for merge into master.