Added debug flag, so extraneous info is not printed unless BTB_DEBUG environment variable is set.