Added pause and frame by frame advance and return.