Implemented new thresholdslider-function

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