Added getLastImage and connected with its button. Preloading first image in windows constructor