Fixed a ton of errors on the admin view page.