Add no_progress option and new debug_* functions.