Moved graph layout stuff to GUITaskQueue