Fixed selectdist function to use epochtime instead of id
Long Graphs with Asyncronous Loading is now Working