diag
- more work on the debug and profiling web interface