Spline UI run graph calculations on thread

Much smoother when the gtk event loop isn't as clogged

Signed-off-by: Ravago Jones <ravagojones@gmail.com>
Change-Id: Ied4b0a8bd80957a1e3ae09ccf977a5f4ac3373eb
diff --git a/frc971/control_loops/python/path_edit.py b/frc971/control_loops/python/path_edit.py
index c639379..50400b9 100755
--- a/frc971/control_loops/python/path_edit.py
+++ b/frc971/control_loops/python/path_edit.py
@@ -259,7 +259,7 @@
                                                pxToM(self.mousey), difs)
 
             self.points.update_lib_spline()
-            self.graph.recalculate_graph(self.points)
+            self.graph.schedule_recalculate(self.points)
         self.queue_draw()
 
     def export_json(self, file_name):
@@ -374,7 +374,7 @@
                 self.points.splineExtrapolate(self.spline_edit)
 
                 self.points.update_lib_spline()
-                self.graph.recalculate_graph(self.points)
+                self.graph.schedule_recalculate(self.points)
 
                 self.index_of_edit = -1
                 self.spline_edit = -1