Added some functions to remove useless edges and now slider finish time now depends on the filters.