Cleanup of cached images now occurs also if you click the window-manager 'X' to quit the app