Documenting and cleaning up perf_vis.
More commenting and minor changes to perf_vis.
Minor changes forgot to commit last commit.