reworked debug/toolbar