Add switch to close and open debug info. Fine tune ClusterTool and
SortTool classes