Dashboard Performance Improvements

Sundry dashboard improvements. All JSON in the dashboard is now embedded so we don't have to go back to the server four times after the page loads before the page is meaningful. Some rewritten partials and the queries that help them, for three partials, each showing significant performance improvement.