Some wp_debug fixes in widgets & other bits