All this diagnostics need to be taken out and instead make this info queryable from outside. I can then show this info in diagnostics dll.