debug panel cleanup