add comments to visualize_threading.py