Added glib < 2.30 compatibility function
Added cons_debug()