Corrected exporting of frames

Animation_demonstration no longer exports frames for movie 2 when movie
2 is not supposed to export.