cleanup; optional auto refresh for scalars page