Implemented new thresholdslider-function, which uses the distance-table from the json-file

features:
- Deletes fragemented graphs
- Doesn't need presorted arrays
Additionally this commit:
+ Use the state-name as reference in the json
+ Removed the hashes and minDuplicateDistance from the json