tweaked weighted code, cleaned up BFS, added generic SaveTxt VH, and removed custom bash scripts