Admin Views HTML Headers, Stop Direct Access

Also a couple small formatting improvements
Updated to employ WordPress coding standards
Merge pull request #5903 from bryceadams/master

Admin Views HTML Headers, Stop Direct Access & Formatting