Press key 1, 2, 3 or 4 to change mode. It starts in mode 1.
Thanks to CP3X5G for the idea and original coding. All I've done is duplicate the code a couple of times to get three images running at once and made some minor tweaks (plus added the key options).