Wrap calls to setgenerate...

...and drop unnecessary rpc call to getblockcount, since every simulation
starts over.
Fix tps estimation in controlled simulations
close stop chan first so Shutdown can proceed
drain actor chans which might block shutdown
Create csv on the fly