Sorting, search (no UI for that yet), more UI tweaks, PDF generation