Cleaned up plot_path a bit.