added loading screen, some refactoring added title to document editor to show the link title in reference to the document being edited