renamed debug_widget to debug_panel