Fixed various debugger UI bugs