add display of bad frames

bad frames meaning frames with a number of keypoints other than 2