Remove badge on URL change. fixes #15
skeleton for Analytics error handling
Try to avoid closures