Added events for category selection and deselection.
Fixed text alignment.
Added automatic merging to clusters of the same category.
Added ability to determine whether a cluster has been assigned to a category.
Added autofocus on first uncategorised cluster.
Tidied event handling.