new video callback plus some other improvements