cleanups
release locked tiles for labeling directly
improve tile distance function