Rearranged and added comments.  Also added editor/pager settigns.