Fix: Use `run_on_new_thread` in `log_graph`
Fix: Use `run_on_new_thread` in `log_graph`

The old code invoked `run()` which actually executes the function
on the same thread. Swap with the new helper, also for testing.

divmain/GitSavvy,divmain/GitSavvy,divmain/GitSavvy