Refined the thumbnail geeneration and fixed some bad image paths.