Added video recording
Improved video saving