Feature/taxrefine plus cartodb

Fixed problems found during code review.