ContextManager to save on exit
We can have a ContextManager that returns whatever stats and history the environmet
has and saves it as a temporary file so that we don't lose data on unintentional exits.
We can have a ContextManager that returns whatever stats and history the environmet
has and saves it as a temporary file so that we don't lose data on unintentional exits.