Saving frames from Kinect, press P to save a pgm file