minor debugging changes to main and videotest