Ildipo/displaystate

addresses issue #413
implements output state saving for plot, combined plots and tables