added a GUI switch for the IRC debug setting