wordpad: Use pages_shown variables to indicate pages shown.