fixed events on main page

use WP_Query instead of query_posts, and posts_per_page