Fixed memory problems with Video