fixed memory cache updating
added button to settings dialog for clearing image cache