Add some error checking to plot_mb().