Miscellaneous dashboard fatal error fixes

This just fixes a few issues I encountered while playing with 5.7-wip. They mostly seem like simple oversights, but they got things working for me. I realize such contributions to 5.7 alpha have not been solicited, so no problem if you ignore or reject this pull request.

-Steve