Add exception handling to the video saving functionality
Fix some aesthetic stuff