Loads of changes regarding document editing