Background
We need to be able to get very detailed stats of the program when it hangs or crashes
What to do
- Make current stats and latest logs-in-process available: note log fields are backed by mutable arrays and they may be changed or dropped when accessed out of scope.
- Dump the information on fatal/panic and specific signals