Changes for Explore & Profile pages, and general cleanup

Some other pages are broken as a result, but we should probably merge ASAP in order to reduce the number of merge conflicts later.