debugged gui