Finished floodfill in LAB color space. Works pretty well.