Memory & thumbnails

• resolved strange memory issue (clean-up)
• added nice looking thumbnails