make app-domain computation in viewer (hidden), add reset-view