Change variable used for the content to reduce the chances of the theme adding extra HTML.
Issue #1300264: Template can't be overriden by simongeorges: Template can't be overriden.
Replace hard coded content_page_active_page() with a hook_content_page_is_active_page call.
Added a simple sub-module (content_page_ajax_request) to handle the $_GET['ajax_request'] case - automatically enabled via update.php.
Moved some code to a hook_page_alter() to help stop modules adding content after us.
Added the template file to the page theme suggestions so it is used to render the full page instead.
Adding #page div wrapper around content/messages.