browser.js: Replaced the old "The server returned an invalid directory listing" error (which is an unexpected error but we see it all the time for one reason or another) with a more helpful screen which differs based on whether an action or a listing is being requested, and provides suggestions to the user and a refresh button (so it is clear to click the refresh button and move on, rather than just "it broke").