improvements to error reporting
Now only indexing files ending in ".json-pi" (to reduce delay trying to
index other JSON files which don't specify indexing)
Added json-pi to supported new-editor.html editor modes
Work towards making chat-indexed.html look better on a small phone
screen