FindTGUI now accounts for debug mode