Refactor handleFileClose and saveAll to use handleFileSave
Conservatively disable JS hinting in untitled documents