improve debug gui