improve status display; remove some dead code