Added a bunch of functionality that will be needed when opening the editor with an...