Video object fixes. + Close file reference.