[x0d] debug print improvements
[base] Library: adds some debug prints
fixes crash on x0d shutdown (plugin unloading)
[x0d] some more debugging diagnostics prints
update