initial work on page_task_selectrom, cleanups and future includes