Formatting and display stuff for the index view.