debug tool modification part2

Made showImageCluster better and easier to use.