improved logging, fixed bugs, video dimensions