Added a debug panel for testing