Fixes for fetchLocations, refactoring, better thumbnail acquiring method.