Fixing videoCapture and other old stuff