Set debug levels using the GUI

Low priority Allow the user to set debug levels using the GUI (see debug levels ticket for more info)