Added debug_log and update to 1.7.2 dev compat

Version 1.0!