Initialise debug_level to 1 so that the jQuery popup can use it.