Add a little more code for MSTP_n, and for plotting grids from cmdline.