Minor fixes

added informative error if no colours are returned after thresholding and now palette lists are returned sorted by descending MPD.