Restored optimization of building matplotlib plots in other processes.  Enabled by adding plot.close() to the shared library.