Optimize /admin/reports and port category improvements / optimization from core

Efforts to speed up the site slightly as load increases. I'll merge this myself.
But adding a pull request for tracking