More Home Screen optimization: save and load generated thumbs

Now the application saves the generated thumbnails for later usage.
Also fixed the ImageData Memory leak. Also optimized memory usage.