added displaying frames of ppm files