Saving the locations file name in the editor object

This means we can use it in save_locations() later.
Using the locations file name from Editor() object
Saving locations no longer "work in progress"