updated some comments and added example pointers/page to analyze_page, and removed some debug code