This program reads images from Shmem and dumps them into memory. When the program is closed (with SIGINT), the signal handler will write these frames into a file that can later be used for writing the images to Shmem.

This is very useful for recording playback of the track for later evaluation. For example, is the simulator close to real life?