More robust video thread. Changed tutorial to image display and additional debigging of H264 frame on error