Save editor content to file on sever before using it.

First step in getting error information back to the editor.
Add ugly setTimeout to ensure that the `getAndUse` function has started.
Add {get,set}BufferName for manipulating the name of the file in the editor