update video display example (untested!), fix get pixel, refactor