Fix class view when there are no root classes; allow UI to display error on failure to retrieve classes etc. rather than revert to summary page.