Revised documentation and cleared out code.
Added a new check to see if post is already set in recent pages.