Also now there are two debug levels: debug_global can be 0, 1 or 2. 2 is more verbose.