Fix critical bug with URL expansion; improve debug reporting; fix issue with kill switch on consume

Signed-off-by: Andrew Phelps <andrew@phel.ps>