fixed frmIvals not being free'd on exit
dumpvideo works

still some color conversion errors, needs tracing the complete chain
in and out, perhaps some big/little endian issue?
some debug commits are inside, remove before next commit.