clear map thumbs logic

fixes the thumbnail error on map save and removes some code that was potentially raise exceptions