save, saveAs, and open commands added to editor with support from buffers