Stop exception when there are no public documents.
Make /admin goto https
Add ordering to most tables.