Added many debug lines (to be removed soon).  Updated is_urban handling