Fix php 5.4 warning
Off by one error when outputing number of posts
Add 3 an an option for number of posts to display