Cleanup BSPlotter.