Remove unneeded code.
debugGUI: Simplify code