The handling of refcases for plotting is now fully taken care of in plot_config. All refcases are read and cashed on demand.