remove unneeded release from VideoWriter
remove commented out code