fire action when post is being edited as well as saved?

The documentation for the save_post action says: save_post is an action triggered whenever a post or page is created or updated, which could be from an import, post/page edit form, xmlrpc, or post by email. So, you should only need the save_post action to run the desired code when the post is changed.

Super post cleaner, could this be category specific?

Your code is flawed. You should never delete posts by issuing SQL directly to the DB. Use WP_Query to find the posts that are duplicates and wp_delete_post to delete them. Your current method might generate a lot of garbage in the DB. Side Note: Best way to prevent duplication is not to allow them to … Read more

Pagination and Related Posts

Yes, it is possible but might be a little complicated to apply the ‘paged’ variable to the arguments. You’ll need pagination functions which do the ajax calls to receive and apply the ‘paged’ var.