Added pagination and a number of UI tweaks.