Clean up and updates of the GUI code and preparations for the M-tree indexing via the probabilities from the classifier.