fix "profiling"
write directly to video rather than to pngs
rename Video* to VideoReader*, add VideoWriter, use it