This is a major revamp to make the sysadmin dashboard testable and
more portable to different installation types and situations.