Added recent files and auto loading of last document