Add a test for the DebugPanel logic

restructure the "get unique name" logic
add test for getCallbacks
make event logging a public, seperate method, the debug kit listener,
if attached, will automatially enable event logging on startup,
otherwise it's disabled by default