Improved the debug UI.