replace print/say with pager()
remove unused sub
doc fix