fixed -s flag;
added some metadata rate plot
initial metadat rate threshold detector and plotter