Bug fixes and implementation of multiplot.