Index: wp-includes/functions.php
===================================================================
--- wp-includes/functions.php	(revision 11994)
+++ wp-includes/functions.php	(working copy)
@@ -1453,8 +1453,11 @@
  */
 function wp( $query_vars = '' ) {
 	global $wp, $wp_query, $wp_the_query;
-	$wp->main( $query_vars );
 
+	// Return false to this filter to stop WordPress run it's own queries for this page
+	if ( apply_filters('run_wp_main', true, $query_vars) )
+		$wp->main( $query_vars );
+
 	if( !isset($wp_the_query) )
 		$wp_the_query = $wp_query;
 }
