Added a limit to the amount of content that can be displayed. Currently 500.