Added a debug panel