Added thumbnail generation and added the cache folder to the ignore list