AVFoundation video writer updates/improvements and clean up