Improved debug gui